FROM mysql/mysql-server:8.0.32

MAINTAINER cyber

ENV TZ=Asia/Shanghai
ENV MYSQL_ROOT_PASSWO="root"

RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

ADD ./db/*.sql /docker-entrypoint-initdb.d/
